/* body {
  background-image: './image/01.jpg';
} */
/*=====主导航栏 blogs-main-nav===*/
.blogs-main-nav {
  width: 1200px;
  height: 130px;
  margin: auto;
  padding-top: 30px; /*好处,里面的元素都可以往下偏移*/
  box-sizing: border-box; /*自动内减,防止盒子被撑大*/
  /* background: pink; */
}

/*设置logo*/
.blogs-main-nav .logo {
  width: 150px;
  height: 70px;
  /* margin-left: 10px; */
  /* background: red; */
  font-size: 30px;
  text-align: center;
  line-height: 70px;
}

/*设置logo里面的a标签*/
.blogs-main-nav .logo a {
  /* display: block; */
  /* width: 40px; */
  /* height: 70px; */
  /* background-image: url(../images/logo.png); */
  background-size: 100%;
  color: skyblue;
}
.blogs-main-nav .logo a:hover {
  color: red;
  /* border-bottom: 1px solid red; */
  /* padding-bottom: 100px; */
}
/*设置整个导航条*/
.blogs-main-nav nav {
  margin-left: 50px; /*整个向右移动*/
}
/*设置导航条里面的li*/
.blogs-main-nav li {
  float: left;
  height: 70px;
  margin-right: 48px; /*控制间隙*/
  line-height: 70px; /*垂直居中*/
  /* background: skyblue; */
  font-size: 20px;
}
/*设置光标移入导航条中a标签的样式*/
.blogs-main-nav nav a:hover {
  color: red;
  border-bottom: 1px solid red;
  /* padding-bottom: 7px; */
}

/*设置搜索框*/
.blogs-main-nav .search {
  position: relative;
  width: 172px;
  height: 25px;
  margin-top: 24px; /*根据设计图计算出来*/
  margin-left: 34px;
  /* background: purple; */
  border: 1px solid rgb(211, 186, 186);
}

/*设置按钮*/
.blogs-main-nav .btn {
  position: relative;
  width: 50px;
  height: 30px;
  margin-top: 24px; /*根据设计图计算出来*/
  margin-left: 34px;
  /* background: purple; */
}
